package xin.alum.aim.constant;

/**
 * 道通关闭类型
 *
 * @author Alum(alum @ live.cn)
 * @date 2021/8/6 10:33
 */
public enum AimClose {
    HANDSHAKE("HANDSHAKE", 0),
    HEARTBEAT("HEARTBEAT", 1),
    EXCEPTION("EXCEPTION", 2),
    KILL("ON_KILL", 3),
    CLOSE("SERVER_CLOSE", 4),
    CLIENT_CLOSE("CLIENT_CLOSE", 5);

    private String name;
    private int value;

    AimClose(String name, int value) {
        this.name = name;
        this.value = value;
    }
}
